#ifndef _PERFORMANCE_H_
#define _PERFORMANCE_H_

#include "SpriteAurora.h"
#include <vector>

struct Sprite_Export
{
	char spriteName[50];
	char spriteID[50];
	int plistType;	
};

class Performance
{
public:

	Performance(){ };
	~Performance(){};

	static Performance* instant;
	static Performance* getInstant();

	//load module
	Module_Aurora* LoadModule ( char* spriteName );
	//load frame
	Frame_Aurora* LoadFrame ( char* spriteName );
	//load anim;
	Anim_Aurora* LoadAnim ( char* spriteName );
	//load a sprite
	SpriteAurora* LoadSprite ( char* spriteName );
	//load all sprite
	SpriteAurora* LoadAllSprite ( char* spriteListFile );
	//get spite list
	std::vector < Sprite_Export > getSpriteList ( char* spriteListFile );
	//check all sprite 
	int spriteListSuccess ( char* spriteListFile );

	//get module ID
	int getModuleID( int spriteID, int frameIndexUpDown, SpriteAurora* spriteArray ); 



};
#endif